libxl: Asynchronous/long-running operation infrastructure
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 27 Jan 2012 17:01:24 +0000 (17:01 +0000)
committerIan Jackson <ian.jackson@eu.citrix.com>
Fri, 27 Jan 2012 17:01:24 +0000 (17:01 +0000)
commit889a89c7acd57fc21fb6900a685bb0b92c1162fe
tree7d309b1bd9ca7661f5eb9962905a905353313306
parent62a394f4eb7c8b4f5e98eaed30c4c522d8249162
libxl: Asynchronous/long-running operation infrastructure

Provide a new set of machinery for writing public libxl functions
which may take a long time.  The application gets to decide whether
they want the function to be synchronous, or whether they'd prefer to
get a callback, or an event, when the operation is complete.

User(s) of this machinery will be introduced in later patch(es).

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tools/libxl/libxl.h
tools/libxl/libxl_event.c
tools/libxl/libxl_internal.h
tools/libxl/libxl_types.idl